package com.wd.demo1.icon;

import com.intellij.openapi.util.IconLoader;
import javax.swing.Icon;

/**
 * @author Administrator
 * @date 2025-10-28 1:11
 */
public class PluginIcons {

	public static final Icon open = load("/icons/open.svg");
	public static final Icon open_dark = load("/icons/open_dark.svg");
	public static final Icon successDialog = load("/icons/successDialog.svg");
	public static final Icon successDialog_dark = load("/icons/successDialog_dark.svg");
	public static final Icon warningDialog = load("/icons/warningDialog.svg");
	public static final Icon warningDialog_dark = load("/icons/warningDialog_dark.svg");

	public  static Icon load(String iconPath){
		return IconLoader.getIcon(iconPath, PluginIcons.class);
	}
}
